MX28: SPI: Refactor spi_xfer a bit
authorMarek Vasut <[email protected]>
Mon, 9 Jul 2012 00:48:31 +0000 (00:48 +0000)
committerAlbert ARIBAUD <[email protected]>
Sat, 1 Sep 2012 12:58:16 +0000 (14:58 +0200)
commitc7065fa824ab30108e1964bf1060eacb4323a85e
tree677c27a793dad6730616344aef4e791a9ad4de01
parente972d72bd7ce944a655328c6a8ef1e75e56490e3
MX28: SPI: Refactor spi_xfer a bit

This makes it easier to adapt for addition of DMA support.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Wolfgang Denk <[email protected]>
drivers/spi/mxs_spi.c